package com.virtium.vpc.dao;

import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.criterion.Example;

import com.virtium.vpc.hibernate.model.VpcHeight;

/**
 * A data access object (DAO) providing persistence and search support for
 * VpcHeight entities. Transaction control of the save(), update() and delete()
 * operations can directly support Spring container-managed transactions or they
 * can be augmented to handle user-managed Spring transactions. Each of these
 * methods provides additional information for how to configure it for the
 * desired type of transaction control.
 * 
 * @see asdf.VpcHeight
 * @author TuanAnh
 */

public interface VpcHeightDAO extends GenericDAO {
	public void save(VpcHeight transientInstance);

	public void delete(VpcHeight persistentInstance);

	public VpcHeight findById(java.lang.Integer id);

	public List findByExample(VpcHeight instance);

	public List findByProperty(String propertyName, Object value);

	public List findByText(Object text);

	public List findAll();

	public VpcHeight merge(VpcHeight detachedInstance);

	public void attachDirty(VpcHeight instance);

	public void attachClean(VpcHeight instance);
}